package com.crpc.common.crpcEnum;

import lombok.Getter;

@Getter
public enum LoadBalancerEnums {
    ROUND_ROBIN((byte) 1, "RoundRobin"),
    ConsistentHash((byte) 2, "ConsistentHash"),
    MinimumResponse((byte) 3, "MinimumResponse");

    private final byte code;
    private final String type;

    LoadBalancerEnums(byte code, String type) {
        this.type = type;
        this.code = code;
    }
}
